-- Write your code here:
SELECT IF(salary <= 500, 1000, 0) FROM employee;